<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	template="template.xhtml">
	
  <ui:define name="content">
		<h:messages showDetail="true"/>
		<h:form>
			<h:panelGrid columns="2">
				<h:outputLabel for="title" value="Title"></h:outputLabel>
				<h:inputText id="title" value="#{createCategory.category.categoryName}"></h:inputText>
				
			</h:panelGrid>
			<h:commandButton value="Save" action="#{createCategory.save}"></h:commandButton>
		</h:form>
  </ui:define>
  
</ui:composition>